Projection system

ABSTRACT

An image projector that modifies projected images. An imaging device preferably senses information about a projection screen upon which an image is projected. Based on the sensed information about the projection screen, the projector modifies the image in a desired manner, such as rescaling, or correcting distortion in, the projected image.

BACKGROUND OF THE INVENTION

This invention relates generally to image projectors, and more particularly, to modifying projected images.

Portable digital image projectors are common. Such digital image projectors, while connected to a personal computer or other image/video source, sit on a surface and are directed at a projection surface to show a “slide” presentation or a video presentation. Many of these projectors use transmissive or reflective liquid crystal displays, and typically only have a single main lens. Other such projectors use different imaging devices, such as digital micro-mirrors, and may include more than one lens. The projectors can display images one at the time or as a sequence of images, as in the case of video.

These digital projectors are typically designed so that undistorted rectangular images are projected on the projection surface when the projector is placed horizontally on a level support surface with the projector's optical axis lined up perpendicular to the projection surface. However, if the alignment and orientation is modified, then the resulting image on the projection surface may be distorted. In many cases the image will appear as a trapezoid, and in other cases an arbitrarily shaped quadrilateral. The non-rectangular shape of the resulting projected image is referred to as keystoning.

One technique to adjust for keystoning is to tediously adjust the physical position of the projector by moving it around, tilting and rotating it, until a near rectangular image is displayed. However, in many situations, it may not be feasible to sufficiently physically adjust the position of the projector. For example, the projector may need to be positioned above or below the display surface for proper image presentation.

U.S. Pat. No. 5,548,357, entitled “Keystoning and focus correction for an overhead projector,” describes a system where a test slide is displayed. A user then identifies line pairs that appear to be parallel to each other. The user identified line pair activates a distortion correction program that uses the oblique angle between the horizontal plane through the projector and the viewing screen. This is a burdensome task for a user to correctly perform.

U.S. Pat. No. 5,795,046, entitled “Method for pre-compensating an asymmetrical picture in a projection system for displaying a picture,” describe a system where the projection angle, and the trapezoidal error, is compensated for by the user entering positional information into the system via a keyboard. The determination and inputting of positional information is difficult and burdensome for the user.

U.S. Patent Publication 2002/0021418 A1, entitled “Automatic Keystone Correction For Projectors With Arbitrary Orientation”, describes a projection system that includes a pair of tilt sensors and a camera. The system using data from the tilt sensors and the camera warps the projected image to display an image that is rectangular. Unfortunately, the tilt sensors tend to be expensive and the system requires complex re-calibration when the projector lens moves, e.g., when the projector is zoomed and/or focused. This inherent complexity increases the expense of the resulting projector.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is an existing projection system.

FIG. 2 is a modified projection system.

FIG. 3 illustrates a self adjusting projection system.

FIG. 4 illustrates keystone correction with autofocus.

FIG. 5 shows a focused image.

FIG. 6 shows an out of focus image FIG. 7 shows the spectrum of FIG. 6.

FIG. 8 shows the spectrum of FIG. 5.

FIG. 9 illustrates image adjustment in accordance with screen size.

FIG. 10 illustrates image filtering.

FIG. 11 illustrates a captured image.

FIG. 12 shows an interactive keystone adjustment.

FIG. 13 shows a keypad.

FIG. 14 illustrates the use of a second imaging source.

FIG. 15 shows projection roll.

FIG. 16 shows corrected projection roll.

FIGS. 17A–17C illustrates different screen aspect ratios.

FIG. 18 illustrates a technique for calculating the aspect ratio.

FIG. 19 illustrates a screen with the image extending past its edges.

FIG. 20 illustrates the screen of FIG. 19 with the image modified.

FIG. 21 illustrates an image within the boundary of the screen.

FIG. 22 illustrates the screen of FIG. 21 with the image modified.

FIG. 23 illustrates a screen with the image extending past and within the boundary of the screen.

FIG. 24 illustrates the screen of FIG. 23 with the image modified.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

Referring to FIG. 1, a typical projection system includes an enclosure housing the electronics and imaging devices. To set up a projector to display an image properly many steps are performed which typically include, (1) connecting a cable to a laptop or other image source, (2) switching a power switch (on/off), (3) adjusting the vertical angle of projection, (4) focusing the image on the display, (5) adjusting the zoom of the image, and (6) manually adjusting the keystone. As it may be observed, this includes many steps which typically need to be performed in a suitable order.

Referring to FIG. 2, a modified projection system includes an enclosure housing the electronics and imaging devices. To set up the modified projector to display an image properly fewer steps are performed which typically include, (1) connecting a cable to a laptop or other image source, (2) switching a power switch (on/off), and (3) selecting the auto-set up function. As it may be observed this requires considerably fewer operations and is less likely to be performed in an improper manner.

Referring to FIG. 3, the primary components of a self-adjusting (setting-free) projector include an imaging sensor system 10, an image pre-processing module 12, projection screen detection module 14, focus detection and auto-focus module 16, keystone detection and correction module 18, image centering and zooming module 20, projector control system 22, and projector optical and mechanical components 24.

The imaging sensor system 10 may contain one or more imaging sensors, or imaging sensor pairs forming a stereo pair. Individual imaging sensors may be one-dimensional or two-dimensional sensors. The imaging sensors may also include the projector optics, such as the projection lens. In the case of a pair of sensors, the relative angular deviation between the surface onto which the image is projected and the image plane of the projector may be used as the basis of image modification, such as keystoning. It is noted that a vertical tilt sensor may be included, if desired.

The present inventors considered the projector system of U.S. Patent Publication 2002/0021418 A1, entitled “Automatic Keystone Correction For Projectors With Arbitrary Orientation”, described above, and determined that occasionally the projector system will fail to properly keystone compensate. After considering the inability to properly keystone compensate the present inventors came to the realization that such a potential failure is, at least in part, the result of the projector being sufficiently out of focus. In many cases, the user will tend to manually focus the projector prior to keystoning which will alleviate the concern. However, in other cases the user will consider the projector sufficiently focused for their current needs and will attempt to keystone correct the image without success, thus resulting in frustration to the user. Referring to FIG. 4, to overcome this previously unconsidered limitation, the system preferably auto-focuses prior to keystone correction. While any number of different auto-focus mechanisms may be used, the system preferably uses an appropriate test pattern to determine whether or not the projector is in focus (see FIG. 5). In the event the system is not properly focused (see FIG. 6), an iterative process where the amount of de-focus is determined, the lens is focused, the amount of de-focus is determined, the lens is focused, etc. is undertaken. One technique for determining the amount of de-focus is to use the frequency spectrum of the image of the projected test pattern (see FIG. 7) and compare it with a reference frequency spectrum (see FIG. 8) of the image of the test pattern acquired when the projector is properly focused. Other de-focus (or focus) detection, determination, and adjustment mechanisms may likewise be utilized, as desired. After performing an auto-focus of the projection system, then the system applies a keystone compensation.

In one embodiment, the keystone compensation may be manually performed by the user after automatic auto focus. In another embodiment, the keystone compensation may be automatically performed by the system after automatic auto focus. In yet another embodiment, the keystone compensation may be partially manual and partially automatically performed after automatic auto focus. The auto-focus function should be invoked by the system as a result of activating or otherwise performing the keystone compensation. The activation of the auto-focus function, as applied to keystone compensation, should be in a manner free from separate user selection of the otherwise existing auto-focus function of the projector. In this manner, the focus of the system is ensured prior to completion of the keystone correction.

The present inventors further considered the projector system described in R. Sukthankar et al., “Smarter Presentations: Exploiting Homography In Camera-Projector Systems,” IEEE ICCV Conference, 2001, described above, and determined that while the use of the single camera can be used to estimate the parameters of the keystone effect, however, there is no guarantee that the projected image after keystone correction maintains the correct aspect ratio. In particular, the system needs to compute C. This is performed by detecting the four screen corners in the image domain, the four physical screen corners, and then solve for C. Unless the physical screen happens to have the same aspect ratio as the screen the system can not obtain the correct aspect ratio. To overcome such a limitation the present inventors determined that interactivity with the user and the projection system can overcome such aspect ratio limitations.

Referring to FIG. 9, the corners of the projection screen may be identified, such as the upper left corner, the upper right corner, the lower left corner, and the lower right corner. With all four corners identified, or at least a pair of diagonal corners identified, the aspect ratio of the projection screen may be determined. Alternatively, the system could detect the edges of the projection screen and from that determine the general boundaries of the projection screen. In any case, the identification of one or more aspects of the projection screen indicating a region that is suitable for displaying an image on, or otherwise the exterior boundary of the projection screen, will be referred to as a boundary. In many cases, the aspect ratio of the projection screen is similar to the desired aspect ratio of the projected image. In some cases, only the upper or lower corners of the projection screen are detected, in which case, the width of the projection screen may be used as the basis to predict a typical aspect ratio of the screen, such as a 4:3 aspect ratio. In a similar manner, the vertical edges of the projection screen may likewise be used. In some cases, only the right or left corners of the projection screen are detected, in which case, the height of the projection screen may be used as the basis to predict a typical aspect ratio of the screen, such as a 4:3 aspect ratio. In a similar manner, the horizontal edges of the projection screen may likewise be used.

The projected image, such as using a test pattern, is sensed by the camera and compared with the size of the projection screen. This may be done by comparing the four corners of the projected test pattern with the four corners (or otherwise) of the detected projection screen. Then, adjustments to the projected image may be made to shift the edges of the projected image in accordance with the projection screen. The sensing of the projected image by the camera and resizing the projected image may be repeated until the desired size (horizontal and/or vertical) and/or aspect ratio of the projected image is achieved. For example, if the projection is to the left of the screen, the screen detection module may sense such an alignment and output a set of control parameters to cause the projector to shift towards the right-hand side. In one embodiment, the control parameters may be the distance between the mass centers of the projection screen and the projected image. The system may use any suitable relationship between the projected image and the size of the projection screen. For example, the image may be centered on the projection screen and sized to fit approximately 90% of the projection screen. For example, if the projection is larger than the detected screen, then the projector may zoom in; and if the projection is smaller than the detected screen, then the projector may zoom out.

Referring to FIG. 10, one technique to detect the projection screen is to use a one-dimensional imaging sensor. An input data line is median-filtered 80 to remove noise since a typical inexpensive sensor captures data with significant noise level. The median filter is preferred due to its property of preserving discontinuity. The filtered data is then passed into a gradient computation module 82. It is noted that absolute luminance level is not the most reliable cue for identifying a screen, since there may be luminance variations due to shadows/shades as illustrated in FIG. 11. Thus the detection is preferably performed in the gradient domain. After the gradients are found, a zero-crossing/peak locator module 84 locates the zero-crossings and peaks in the gradient array. The zero-crossing/peaks are presumably the boundaries of the screen. Since typically there are multiple zero-crossings/peaks, and not all of them correspond to valid screen boundaries, the candidate pair matcher module 86 matches two zero-crossings/peaks to form a pair that is a plausible candidate of screen. The match is based on multiple criteria such as width of the screen, average brightness of the screen, etc. This module will obtain multiple such pairs. A statistical inference module 88 uses an inference algorithm to choose the most plausible pair, based on empirical probabilities that reflect the importance of each type of the cues used.

The basic principles of the above approach can be extended to the 2-D sensor case where the input array is 2-dimensional. In fact, one can even use the above 1-D approach to process the sensed 2-D array row by row, and then column by column. However, a preferred approach will also utilize the additional 2-D constraints such as that all 1-D screen boundaries in the horizontal direction should form two lines in the vertical direction. Alternatively, with 2-D data, one can start with edge detection, then perform line detection, and then extract a quadrilateral that encloses an area of relatively uniform color (white) and typically relatively brighter than the background. It is noted that the projection screen may be identified with one or more cameras.

After the detection of the projection screen an interactive technique may be used to permit the user to further adjust the aspect ratio, and/or keystone, if desired. These techniques may likewise be used to over-ride the automatic adjustments and also provide proper operation when the range of operation for the automatic methods is exceeded (e.g., in a very dark room). Such techniques should require minimal user interaction for ease of use. A “keystone adjustment pattern” is projected which the user interacts with via the laser pointer (or otherwise a pointing device) that is integrated with the projector remote control or separate from the projector, or alternatively by selecting the appropriate functions on the projector. The user starts and stops interactive adjustment on the basis of visual feedback by observing the dynamically changing shape of the keystone correction pattern in response to user's actions. In addition, after detection of the projection screen the system may, if desired, perform auto focus, auto centering (positioning), auto zooming, and auto keystoning, all without further user interaction with the projector. Also, after detection of the projection screen the system may perform auto centering (positioning) and/or auto zooming.

Referring to FIG. 12 a rectangular pattern may be used for interactive adjustment in the preferred embodiment. The pattern will appear as warped rectangle 100 when the keystone effect is present, and will appear to be perfectly (or substantially) rectangular when the keystone effect is corrected. At each one of its corners, the pattern has a cluster of 4 arrows, pointing north, south, west, and east directions. In one possible implementation, the user first enters the keystone adjustment mode by selecting the corresponding option in an on-screen menu, and then uses the laser pointer to adjust for keystone: whenever the laser beam falls on an arrow, the projection will be adjusted towards that direction. The camera detects the position of the laser and invokes the correction mechanism, which may be in the form of digital image pre-processing and/or optical/mechanical control of the projector imaging system. The laser pointer may be integrated into the projector remote control or otherwise be separate.

In the preferred implementation, the user interacts with the arrows using the remote control unit of the projector, in particular using four-directional (pointing at N, S, W, and E) navigation arrows on a typical remote control, e.g., those on a circular directional pad. Such an ensemble of four arrows placed on a circular pad that can be pressed in 4 different directions is depicted in FIG. 13.

In this implementation, the user first enters the keystone adjustment mode by selecting the corresponding option on the on-screen display menu. The keystone adjustment pattern is then projected. Prior to adjustment, the user first selects one of the four corners that will be adjusted. There are many possible ways of making this selection. For example, the user makes a selection by pressing/clicking on a button on the remote control, or on a soft button on the on-screen display (henceforth the SELECT button). As the user presses the SELECT button, the four-arrow cluster appears on one particular corner signaling the fact that the corner is selected for adjustment. The user then selects any one of the four directions by pressing on the four corresponding directional arrows on the directional pad on the remote control unit (FIG. 13). After the adjustment is completed, when the user presses/clicks on the SELECT button, the next corner is selected. This is signaled to the user by the appearance of the four-arrow cluster at the next selected corner. By pressing the SELECT button repeatedly, the user can jump from one corner to the next in clockwise fashion. When a corner is selected, the four-arrow cluster appears on that corner to provide visual confirmation to the user. The remaining three corners do not have the four-arrow cluster.

A similar paradigm to the one described above can be used for interactive aspect ratio adjustment. Two arrows (up and down or left and right) placed on any appropriate part of the adjustment pattern are used to stretch and squeeze the image to interactively adjust for the correct aspect ratio.

In many cases there is no projection screen or otherwise a wall with discernable boundaries that is used to display the image on. In this case, it is problematic to use a single imaging device in order to provide effective keystone correction. Accordingly, the system may use two or more imaging devices, such as two or more cameras, or one or more cameras together with the projector's optical system. The pair of optical sensing devices may be used to estimate the relative horizontal deviation angle and vertical deviation angle, typically using a projected test pattern, from which the keystone correction parameters may be estimated.

Depth to the projection surface is useful in estimating the relative projection surface orientation. The relative angles may be computed from the depth of the test patterns relative to the projector. While the use of a single sensor coupled with the projector optics is acceptable, it is difficult to obtain an accurate estimate of the distance from the projector to the display surface. In order to obtain a more accurate estimate of the distance from the projector to the display surface a depth-sensing device (e.g., a stereo camera), apart from the projector optics, may be used. In order to reduce expense, the depth sensing device may be a one-dimensional imaging sensor pair, if desired (such as illustrated in FIG. 14). The depth estimation may likewise be used to increase the accuracy of the projection screen detection module. Also, the system may place a constraint on the detected corners of the projection screen that they are co-planar, which is normally the case, in order to make the depth estimation more robust.”

In another embodiment the imaging may use the projector optics (e.g., the projector lens) together with one or more other imaging devices. The imaging devices may be maintained in a fixed location with respect to the projector, and are preferably integral therewith. However, it has been determined that if the projector optics are adjusted in some manner during use, then the system needs to be re-calibrated for a new set of parameters to compensate for the zooming and/or focusing and/or lens shifting. To overcome this limitation, the prevent inventors determined that the system may pre-calibrate the optics of the projector so that the new parameters of the projector optics can be computed from the lens control parameters, as the lens is moved during zooming and/or focusing and/or lens shifting. The pre-calibration may include modeling the variations in the optical parameters as a function of one or more of the lens control parameters, so that the on-line re-calibration can be done automatically. The calibration may include calculations from pre-calibrations or otherwise a look-up table.

Referring to FIG. 15, after keystone correction the projected image may be rectangular but it is not necessarily properly oriented with respect to the user, which typically desires the top and bottom edges to be horizontal, and the right and left edges to be vertical. In some embodiments the detected projection screen, or parts thereof, may be used as a basis to correct for projection roll so that the projector will be aligned with the real world, as illustrated in FIG. 16.

In some cases, the keystone correction may use a predefined or otherwise user selected aspect ratio for the projection screen. The projected image may then be modified to match the defined aspect ratio of the screen. This is especially suitable for a 4:3 aspect ratio screen with a 4:3 aspect ratio projected image. However, there are situations where the projected aspect ratio is not known by the user, and/or the aspect ratio of the screen is not known by the user. In such a circumstance it is more difficult to properly configure the projection system. Accordingly, it is preferably if the projection system calculates the aspect ratio of the projection screen so that the image may then be displayed properly on the screen. For example, the projected image may be displayed with the same aspect ratio as the screen.

In many situations the projected image has an aspect ratio of 4:3, which is the traditional television broadcast format. Referring to FIG. 17, there are typically three different aspect ratios for the screen, namely, 1:1 (FIG. 17A), 4:3 (FIG. 17B), and 16:9 (FIG. 17C). Referring to FIG. 18, to determine the aspect ratio of the projection screen, the system may compute the average width of the detected screen by averaging its two horizontal sides, then compute the average height of the detected screen by averaging its two vertical sides, and compute the averaged ratio (average width)/(average height). Other techniques may likewise be used to compute the general width to height ratio of the detected screen. This averaged ratio may be used as the basis upon which to modify the projected image. In the case that the system selects from among a predetermined set of aspect ratios (e.g., FIG. 17A, FIG. 17B, FIG. 17C), the averaged ratio may also be compared with predetermined set of ratios for these predetermined sets to determine which aspect ratio screen is likely present. In this case, the system may readily detect the appropriate aspect ratio of the screen. The projected image may then be modified in accordance with the determined aspect ratio, if desired.

In some cases the projected image is already sized to fit within the detected projection screen. In such a case, the image is typically modified to fit within the boundaries of the screen. In other cases, all or a portion of the image extends beyond the boundary of the projection screen. In such cases, the image should be modified to fit within or generally proximate with the boundaries of the projection screen.

Referring to FIG. 19, in some cases the projected image will be larger than the screen and overlap all the edges of the screen. In such a case, one technique is to remove those regions of the image that fall outside of the screen, as illustrated in FIG. 20. In such a case the image may be modified so that no light is projected in these “removed” portions of the projected image. Also, the image may be keystone corrected to fit within the non-removed portion of the image and projected within the boundaries of the screen, as illustrated in FIG. 20. In this manner, the projector does not need to be moved nor do the lenses need to be changed, which simplifies the computational requirements.

Referring to FIG. 21, in some cases the projected image will be smaller than the screen and not overlap any of the edges of the screen. In such a case, one technique is to remove those regions of the image that are not contained within the largest boundary having the same aspect ratio and centering within the screen which the image fits, as illustrated in FIG. 22. This results in maintaining the largest projected image that strikes the screen without changing the zoom of the projector. In such a case the image may be modified so that no light is projected in the “removed” portions of the projected image. Also, the image may be keystone corrected to fit within the non-removed portion of the image and projected within the boundaries of the screen. In this manner, the projector does not need to be moved nor do the lenses need to be changes, which simplifies the computational requirements.

Referring to FIG. 23, in some cases the projected image will be smaller than the screen in some respects and overlap some of the edges of the screen. In such a case, one technique is to remove those regions of the image that fall outside of the screen, as illustrated in FIG. 20. In such a case the image may be modified so that no light is projected in these “removed” portions of the projected image. Also, the technique includes removing those regions of the image that are not contained within the largest boundary having the same aspect ratio and centering with the screen within which the image fits, as illustrated in FIG. 22. In such a case the image may be modified so that no light is projected in the “removed” portions of the projected image. The result is illustrated in FIG. 24. Also, the image may be keystone corrected to fit within the non-removed portion of the image and projected within the boundaries of the screen. In this manner, the projector does not need to be moved nor do the lenses need to be changes, which simplifies the computational requirements.

One technique to perform the sizing operations is to compute a “virtual screen” that falls just within the boundaries of the projected image. A loop may be used to search for the desired virtual screen size. Starting from the original screen size, the system may reduce the screen by, for example, 3 percent and check if the virtual screen is within the projection, and iterate until the answer is yes. The estimation of the virtual screen may be achieved by a three step process. First, one can estimate the transformation from the detected screen in the camera domain to an ideal rectangle with the desired aspect ratio. Second, one can reduce the size of the ideal rectangle by, for example, 3 percent in size. Third, one can transform the ideal rectangle to the camera domain using a transform that is the inverse of the transformation of the first step. The obtained quadrilateral in the image domain is the virtual screen with the desired size. It is noted that when reducing the size of the ideal rectangle, if the system keeps all the smaller rectangles concentric with respect to the original one, the system effectively achieves the goal of positioning the final projected image in the center of the screen as well.

It has been observed that different projection screens tend to have different screen boundary colors. For example, some screens have relatively dark boundaries, such as black, while other screens have relatively light boundaries, such as grey. When a screen has a relatively dark boundary the displayed image may be permitted to overflow onto the dark boundary region which results in better subjective image quality. In this case, the processing techniques may not require the image to be completely bounded within the dark boundary, which reduces the computational complexity. When a screen has a relatively light boundary the displayed image may not be permitted to overflow onto the light boundary region which results in better subjective image quality. In this case, the processing techniques may require the image to be completely bounded within the light boundary, which increases the computational complexity.

All references cited herein are hereby incorporated by reference.

The terms and expressions which have been employed in the foregoing specification are used therein as terms of description and not of limitation, and there is no intention, in the use of such terms and expressions, of excluding equivalents of the features shown and described or portions thereof, it being recognized that the scope of the invention is defined and limited only by the claims which follow. 

1. A method for adjusting keystoning in a projector, comprising: (a) using an imaging device to sense an indication of the height of a projection screen and the width of said projection screen; (b) determining without user input an aspect ratio for said projection screen; (c) determining a transformation to adjust the keystoning of an image projected from said projector based upon said aspect ratio; (d) modifying said image projected from said projector in accordance with said transformation; (e) projecting said modified image from said projector; and (f) selecting an aspect ratio for said projection screen from a predetermined set of aspect ratios.
 2. The method of claim 1 wherein said set of aspect ratios includes all of 1:1, 4:3, and 16:9.
 3. A method for sensing a projection screen with a projector, comprising: (a) using an imaging device to sense an indication of the height of a projection screen and the width of said projection screen; (b) determining without user input an aspect ratio for said projection screen; (c) projecting an image from said projector onto said projection screen; and (d) selecting an aspect ratio for said projection screen from a predetermined set of aspect ratios.
 4. A method for sensing a projection screen with a projector, comprising: (a) using an imaging device to sense an indication of the height of a projection screen and the width of said projection screen; (b) determining without user input an aspect ratio for said projection screen; (c) projecting an image from said projector onto said projection screen; and (d) wherein said set of aspect ratios includes all of 1:1, 4:3, and 16:9.
 5. A method for sensing a projection screen with a projector, comprising: (a) using an imaging device to sense a projection screen; (b) sensing the boundary color of said projection screen; (c) modifying said image based upon said boundary color; (c) projecting said modified image from said projector onto said projection screen.
 6. The method of claim 5 further comprising: (a) determining a transformation to adjust the keystoning of said image projected from said projector based upon said aspect ratio; (b) modifying said image projected from said projector in accordance with said transformation. (c) projecting said modified image from said projection onto said projection screen.
 7. The method of claim 5 wherein said boundary color is categorized as either relatively dark or relatively light.
 8. The method of claim 7 wherein if said boundary color is relatively dark said modified image is permitted to extend onto said boundary color.
 9. The method of claim 7 wherein if said boundary color is relatively light said modified image is not permitted to extend onto said boundary color. 